package com.example;

/**
 * Copyright (C), 2019-2019, 成都飞酷科技有限公司
 * FileName: PostController
 * Author:   linrui
 * Date:     2021年09月14日 11:50
 * Description: Person
 * History:
 * <author>          <time>          <version>          <desc>
 * linrui           11:50         版本号              描述
 */
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

@Entity
public class Person {

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private long id;

    private String firstName;
    private String lastName;

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }
}